PublishPress\Future\Framework\WordPress\Models\PostModel S

Total Complexity 45
Dependencies 6
Dependents 0
Total lines 322
Lines of code 165
Logical lines of code 79
Comment lines 60
Methods 27
Properties 5

Methods 27

Method Rating Maintainability Complexity Lines of code
publish()
S
60 4 12
getPostInstance()
S
65 4 9
getTermNames()
S
59 3 15
updateMeta()
S
61 3 13
deleteMeta()
S
61 3 13
__construct()
S
62 3 12
getTermIDs()
S
68 2 7
getTerms()
S
66 2 8
setPostStatus()
S
65 2 9
getPostTypeSingularLabel()
S
68 2 7
postExists()
S
76 1 4
update()
S
69 1 7
unstick()
S
77 1 4
stick()
S
77 1 4
trash()
S
80 1 3
delete()
S
78 1 3
setTerms()
S
78 1 3
appendTerms()
S
78 1 3
addMeta()
S
78 1 3
getPostType()
S
80 1 3
getMeta()
S
75 1 4
getPostId()
S
81 1 3
getPostEditLink()
S
80 1 3
getPermalink()
S
80 1 3
metadataExists()
S
75 1 4
getTitle()
S
80 1 3
getPostStatus()
S
80 1 3